package com.qzsoft.system.modules.sys.dict.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qzsoft.jeemis.repository.sys.entity.BasicCodeitemEntity;
import com.qzsoft.system.modules.sys.dict.mapper.SysDictMapper;
import com.qzsoft.system.modules.sys.dict.service.SysDictService;


/**
 * @ClassName SysDictServiceImpl
 * @Description 数据字典业务接口实现
 * @author linhuawei
 * @since 2021-10-29
 */
@Service
public class SysDictServiceImpl extends ServiceImpl<SysDictMapper, BasicCodeitemEntity> implements SysDictService {
    
    @Override
    public List<BasicCodeitemEntity> listByCodeid(String codeid) {
        QueryWrapper<BasicCodeitemEntity> queryWrapper = new QueryWrapper<BasicCodeitemEntity>();
        queryWrapper.eq("codeid", codeid);
        queryWrapper.orderByAsc("orderid");
        return baseMapper.selectList(queryWrapper);
    }

}
